package cn.stylefeng.guns.modular.agv.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * AGV拣货任务表
 * </p>
 *
 * @author zhangzh
 * @since 2024-08-06
 */
@TableName("agv_storage_task")
public class AgvStorageTask implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    /**
     * 订单号
     */
    @TableField("storage_number")
    private String storageNumber;

    /**
     * 任务编号
     */
    @TableField("task_no")
    private String taskNo;

    /**
     * agv类型 TUSK HIK
     */
    @TableField("agv_typ")
    private String agvTyp;

    /**
     * agv接口URL
     */
    @TableField("agv_api_base_url")
    private String agvApiBaseUrl;

    /**
     * 小车编号
     */
    @TableField("agv_no")
    private String agvNo;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private String createUser;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 发货仓库id
     */
    @TableField("set_warehouse_id")
    private Long setWarehouseId;

    /**
     * 是否拆托
     */
    @TableField("dis_pallet")
    private String disPallet;

    /**
     * 是否拆托
     */
    @TableField("stat")
    private String stat;

    @TableField("curr_task")
    private String currTask;

    @TableField("web_code")
    private String webCode;

    @TableField("task_stat")
    private String taskStat;

    @TableField("agv_task_run_flag")
    private String agvTaskRunFlag;

    public String getAgvTaskRunFlag() {
        return agvTaskRunFlag;
    }

    public void setAgvTaskRunFlag(String agvTaskRunFlag) {
        this.agvTaskRunFlag = agvTaskRunFlag;
    }

    public String getTaskStat() {
        return taskStat;
    }

    public void setTaskStat(String taskStat) {
        this.taskStat = taskStat;
    }

    public String getCurrTask() {
        return currTask;
    }

    public void setCurrTask(String currTask) {
        this.currTask = currTask;
    }

    public String getWebCode() {
        return webCode;
    }

    public void setWebCode(String webCode) {
        this.webCode = webCode;
    }

    public String getStat() {
        return stat;
    }

    public void setStat(String stat) {
        this.stat = stat;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStorageNumber() {
        return storageNumber;
    }

    public void setStorageNumber(String storageNumber) {
        this.storageNumber = storageNumber;
    }

    public String getTaskNo() {
        return taskNo;
    }

    public void setTaskNo(String taskNo) {
        this.taskNo = taskNo;
    }

    public String getAgvTyp() {
        return agvTyp;
    }

    public void setAgvTyp(String agvTyp) {
        this.agvTyp = agvTyp;
    }

    public String getAgvApiBaseUrl() {
        return agvApiBaseUrl;
    }

    public void setAgvApiBaseUrl(String agvApiBaseUrl) {
        this.agvApiBaseUrl = agvApiBaseUrl;
    }

    public String getAgvNo() {
        return agvNo;
    }

    public void setAgvNo(String agvNo) {
        this.agvNo = agvNo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeliverId() {
        return deliverId;
    }

    public void setDeliverId(Long deliverId) {
        this.deliverId = deliverId;
    }

    public Long getSetWarehouseId() {
        return setWarehouseId;
    }

    public void setSetWarehouseId(Long setWarehouseId) {
        this.setWarehouseId = setWarehouseId;
    }

    public String getDisPallet() {
        return disPallet;
    }

    public void setDisPallet(String disPallet) {
        this.disPallet = disPallet;
    }

    @Override
    public String toString() {
        return "AgvStorageTask{" +
        "id=" + id +
        ", storageNumber=" + storageNumber +
        ", taskNo=" + taskNo +
        ", agvTyp=" + agvTyp +
        ", agvApiBaseUrl=" + agvApiBaseUrl +
        ", agvNo=" + agvNo +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        ", setWarehouseId=" + setWarehouseId +
        ", disPallet=" + disPallet +
        "}";
    }
}
